﻿/*
 * @author: rayzhang
 * @detail: 一些常用的异常类
 */
//module;
#include <stdexcept>
#include <string>
#include "../libflow_global.h"
//export module libflow.exceptions;

namespace flow
{

class UserCancelledException final : public std::runtime_error
{
public:
    UserCancelledException(const std::string& message = "Operation was cancelled.")
        : std::runtime_error(message)
    { }

};

} // namespace cq